package gtkwire.widget.utils;

/**
*Resize modes for all widgets.
*/
public class GtkResizeMode
{
	/**
	*Pass resize request to the parent.
	*/
	public static final GtkResizeMode PARENT = new GtkResizeMode( "GTK_RESIZE_PARENT" );
	/**
	*Queue resizes on this widget.
	*/
	public static final GtkResizeMode QUEUE = new GtkResizeMode( "GTK_RESIZE_QUEUE" );
	/**
	*Perform the resizes now. DEPRECATED.
	*/
	public static final GtkResizeMode IMMEDIATE = new GtkResizeMode( "GTK_RESIZE_IMMEDIATE" );

	private String mode;

	private GtkResizeMode( String mode )
	{
		this.mode = mode;
	}

	public String getMode(){ return mode; }

}//end class
